package com.hs.srm.base.modules.sys.form;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @author: Wangpeidong
 * @create: 2018-04-24 08:11
 */
public class LoginForm implements Serializable {

	private static final long serialVersionUID = 4645692386136295843L;

	private String token;

	@NotBlank(message = "用户名不能为空")
	private String username;

	@NotBlank(message = "密码不能为空")
	private String password;

	private String captcha;

	private boolean remember;

	public String getCaptcha() {
		return this.captcha;
	}

	public String getPassword() {
		return this.password;
	}

	public String getToken() {
		return this.token;
	}

	public String getUsername() {
		return this.username;
	}

	public boolean isRemember() {
		return this.remember;
	}

	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setRemember(boolean remember) {
		this.remember = remember;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public void setUsername(String username) {
		this.username = username;
	}
}
